package com.blog.common.newclass;

import com.blog.common.newclass.inteface.DoStr;

/**
 * 实体源字符类
 */
public class StrSource implements DoStr {

    private String str;

    private StrSource doString;

    private StrSource(){};

    public StrSource(String str){
        this.str = str;
    }

    @Override
    public String getStr() {
       return str;
    }

    @Override
    public int cost() {
        return 0;
    }

}